<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
     h2 {
         text-decoration: underline;
     }
     p {
         text-decoration: line-through;
     }
     div {
         text-decoration: overline;
     }
     a {
         text-decoration: none;
     }
    </style>

</head>
<body>
    <h2>下划线</h2>
    <p>删除线</p>
    <div>上划线</div>
    <a href="#">链接</a>
</body>
</html>